﻿using GetSmartIDEList.WebAPI.Common;
using GetSmartIDEList.WebAPI.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace GetSmartIDEList.WebAPI.Controllers
{
    /// <summary>
    /// 获取左边列表的接口：查询左表
    /// </summary>
    [Route("api/[controller]")]
    [ApiController]
    public class GetLeftController : ControllerBase
    {
        [HttpGet]
        public IEnumerable<resultData> GetLeft()
        {
            return CurrentListFunction.GetLeftRepos();
        }
    }
}
